package com.hdoit.ares.logical.share.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import org.apache.ibatis.type.Alias;

import com.tennetcn.common.message.ModelBase;
/**
 * @author      wangxuexue
 * @email       
 * @createtime  2017年11月22日 15:55:34
 * @comment
 */
@Alias("viewTimes")
@Entity
@Table(name="share_viewtimes")
public class ViewTime extends ModelBase{
    //主键id
    @Id
    @Column(name="id")
    private String id;

    //类型（资讯  类型）
    @Column(name="type")
    private String type;

    //外键id
    @Column(name="shareid")
    private String shareid;

    //浏览次数
    @Column(name="viewtimes")
    private int viewtimes;

    //删除标识
    @Column(name="deleteMark")
    private String deleteMark;

    public String getId(){
        return this.id;
    }
    public void setId(String id){
         this.id=id;
    }

    public String getType(){
        return this.type;
    }
    public void setType(String type){
         this.type=type;
    }

    public String getShareid(){
        return this.shareid;
    }
    public void setShareid(String shareid){
         this.shareid=shareid;
    }

    public int getViewtimes(){
        return this.viewtimes;
    }
    public void setViewtimes(int viewtimes){
         this.viewtimes=viewtimes;
    }

    public String getDeleteMark(){
        return this.deleteMark;
    }
    public void setDeleteMark(String deleteMark){
         this.deleteMark=deleteMark;
    }

}